nativedialog: Do not ref the transient_for parent
authorMatthias Clasen <mclasen@redhat.com>
Sat, 9 May 2020 20:05:08 +0000 (16:05 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 11 May 2020 16:19:39 +0000 (12:19 -0400)
commit81340da8b66403a64fb85f3a9d465033bcb6bb01
tree82b501302c6856905cad2c2ac35f8e56fd880461
parent466d2a84de596ef5bd748eaa133ed0bc67f4580d
nativedialog: Do not ref the transient_for parent

gtk_window_set_transient_for does not ref its parent either. This is
important because a child widget of the parent might be the one calling
this function.

This was showing up as widget-factory not existing on close after
opening the file chooser.
gtk/gtknativedialog.c